#ifndef __TRANS_FILE_H__
#define __TRANS_FILE_H__
#include "head.h"
int recv_n(int sfd,void* buf,int data_len);
int send_n(int sfd,void* buf,int data_len);
int recv_session(int new_fd,train_state_t* pt);
int send_session(int new_fd,train_state_t* pt,int state,char* buf);
#endif